package com.study.factory;

import com.study.dao.UserDao;
import com.study.dao.impl.UserDaoImpl;

//工厂类
public class UserDaoFactoryBean {
    //静态工厂方法
    public static UserDao getUserDao(String name){
        return new UserDaoImpl();
    }
}
